package com.tanhua.dubbo.api.mongo;

import com.tanhua.domain.mongo.Question;
import org.bson.types.ObjectId;

import java.util.List;

public interface MongoQuestionApi {
    List<Question> findByQid(ObjectId qid);

    void save(Question q1);

    Question findById(ObjectId questionId);
}
